import { Code, CreateDate, DateTime, Entity, MemberId, PrimaryUuid, SysUserId, Text, Title, UpdateDate, Uuid } from "@sker/core";

@Entity({
    comment: '快递工单',
    name: 'kd_help'
})
export class KdHelp {
    @PrimaryUuid()
    id: string;

    @Uuid({comment: '代理ID'})
    agent_id: string;

    @Title({ comment: '标题' })
    title: string;

    @MemberId({ comment: '会员' })
    member_id: string;

    @Text({ comment: '内容' })
    content: string;

    @Code({ comment: '类型' })
    type: string;

    @Code({ comment: '状态' })
    status: string;

    @Text({ comment: '回复内容', nullable: true, })
    replay_content: string;

    @SysUserId({ comment: '回复人', nullable: true, })
    replay_user: string;

    @DateTime({ comment: '回复时间', nullable: true, })
    replay_time: Date;

    @CreateDate()
    create_date: Date;

    @UpdateDate()
    udpate_date: Date;
}
